package com.baizhi.lfk.entity;


import lombok.*;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

//@Data
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "yx_category")
public class Category {
    @Id
    private Integer id;

    @Column(name = "cate_name")
    private String cateName;

    private Integer levels;

    @Column(name = "parent_id")
    private Integer parentId;
}